﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QL_DTTN.DTO.DTO
{
 public partial   class Tinh:DtoClass
    {
     public Tinh()
     {
         _tableName = "Tinh";
         _keyField = "Ma" + _tableName;
     }
     public Tinh(Int16 maTinh,string tenTinh)
     { 
         _tableName = "Tinh";
         _keyField = "Ma" + _tableName;
        this.MaTinh = maTinh;
        this.TenTinh = tenTinh;
     }
     private Int16 _maTinh = 0;
     public Int16 MaTinh
     {
         get { return _maTinh; }
         set { _maTinh = value; }
     }
     private string _tenTinh = "";

     public string TenTinh
     {
         get { return _tenTinh; }
         set { _tenTinh = value; }
     }
    }
}
